package com.kosam.demoservice.repository;

import com.kosam.commons.base.repository.RepositorySupport;
import com.kosam.demoservice.entity.User;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by tgx on 2017/2/15.
 */
public interface UserRepository extends RepositorySupport<User, Long>, UserRepositoryCustom{
    User findByName(String name);
}
